package com.mybatis.dao;

import com.mybatis.domain.User;

import java.util.List;

public interface UserDao {
    User findById(int id);

    List<User> findByUsernameAndAddress(User user);
}
